package com.llyb.tingshu.album.client.impl;


import com.llyb.tingshu.album.client.AlbumInfoFeignClient;
import com.llyb.tingshu.common.result.Result;
import com.llyb.tingshu.model.album.AlbumInfo;
import com.llyb.tingshu.model.album.BaseCategory1;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Slf4j
public class AlbumInfoDegradeFeignClient implements AlbumInfoFeignClient {


    @Override
    public Result<AlbumInfo> getAlbumInfo(Long albumId) {
        log.error("AlbumInfoDegradeFeignClient: 获取专辑信息失败");
        return null;
    }

    /**
     * 根据专辑id获取专辑统计信息
     *
     * @param albumId
     * @return
     */
    @Override
    public Result getAlbumStat(Long albumId) {
        log.error("AlbumInfoDegradeFeignClient: 获取专辑统计信息失败");
        return null;
    }

    /**
     * 获取全部一级分类
     *
     * @return
     */
    @Override
    public Result<List<BaseCategory1>> findAllCategory1() {
        log.error("AlbumInfoDegradeFeignClient: 获取全部一级分类失败");
        return null;
    }


}
